import $http from '@/utils/httpRequest'

export default {

  /**
   * 获取字典数据
   * type：字典类型
   */
  reqDictionaryData: function(type) {
    return $http({
      url: $http.adornUrl('/hotel/thotelagreementtype/list'),
      method: 'get',
      params: $http.adornParams({
        page: 1,
        limit: 999,
        type: type
      })
    })
  },
  /**
   * 获取商家所有操作员
   */
  reqMerchantOperator: function() {
    return $http({
      url: $http.adornUrl('/hotel/hotelselleremployee/reqMerchantOperator'),
      method: 'get',
      params: $http.adornParams({})
    })
  }
}
